import { Entity, PrimaryGeneratedColumn, Column , CreateDateColumn, } from 'typeorm';

@Entity('collect')
export class Collect {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  userId: string;

  @Column()
  publish_id: string

  @Column()
  startLocation: string;

  @Column()
  endLocation: string;
}
